package com.ibeeking.found.msg.service.common.param;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName WxMpAutoMessageParam
 * @Description
 * @Author ibeeking
 * @Date 2021-02-05 19:11
 **/
@Data
public class WxMpAutoMessageParam implements Serializable {
private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	private Long id;

	/**
	 * MpId
	 */
	private String appId;

	/**
	 * 事件类型
	 */
	private String eventType;

	private Message message = new Message();

	/**
	 * 关键字规则
	 */
	private String ruleName;

	/**
	 * 发布状态
	 */
	private Integer publishStatus;

	private List<String> keys;

	/**
	 * 创建人
	 */
	private Long createBy;

	/**
	 * 更新人
	 */
	private Long modifyBy;

	@Data
	public static class Message{
		/**
		 * 消息类型
		 */
		private String sourceType;

		/**
		 * 回复消息的内容
		 */
		private String unionKey;
	}


}
